import Layout from '@/layout'

const pollsRouter = {
  path: '/polls',
  component: Layout,
  redirect: '/polls/question',
  name: 'Polls',
  meta: {
    title: '投票管理',
  },
  children: [
    {
      path: 'question',
      component: () => import('@/views/polls/question'),
      name: 'Question',
      meta: { title: '投票信息' },
    },
    {
      path: 'vote_detail',
      component: () => import('@/views/polls/vote_detail'),
      name: 'VoteDetail',
      meta: { title: '投票详情' },
    }
  ]


}

export default pollsRouter